/**
 * ZhaoYun.java
 * create by Lisq
 * date 2014-3-3
 */
package com.lsq.ce_lue_mo_shi;

/**
 * @author Lisq
 * 
 */
public class ZhaoYun {

	public static void main(String[] args) {
		Context context;
		//刚刚到吴国的时候..拆第一个
		System.out.println("\n刚刚到吴国的时候..拆第一个..");
		context = new Context(new Strategy1());
		context.operator();
		
		//刘备乐不思蜀了..拆第二个..
		System.out.println("\n刘备乐不思蜀了..拆第二个..");
		context = new Context(new Strategy2());
		context.operator();
		
		//孙权派兵追..拆第三个..
		System.out.println("\n孙权派兵追..拆第三个..");
		context = new Context(new Strategy3());
		context.operator();
	}
}
